package com.youlai.system.converter;

import com.youlai.system.model.entity.BrandMenu;
import com.youlai.system.model.entity.SysMenu;
import com.youlai.system.model.form.BrandForm;
import com.youlai.system.model.form.MenuForm;
import com.youlai.system.model.vo.BrandVO;
import com.youlai.system.model.vo.MenuVO;
import org.mapstruct.Mapper;

/**
 * 菜单对象转换器
 *
 * @author haoxr
 * @since 2022/7/29
 */
@Mapper(componentModel = "spring")
public interface BrandConverter {

    BrandVO entity2Vo(BrandMenu entity);

    BrandForm entity2Form(BrandMenu entity);

    BrandMenu form2Entity(BrandForm brandForm);

}